The actor’s move comes as the delta variant of COVID-19 is creating a huge spike in new cases in California.